//
//  LRXMapCellModel.m
//  路人侠
//
//  Created by zhangxulong on 5/7/16.
//  Copyright © 2016 zhangxulong. All rights reserved.
//

#import "LRXMapCellModel.h"

@implementation LRXMapCellModel
- (instancetype)initMapCellModel:(NSDictionary *)dic
{
    if (self = [super init]) {
        self.mapName = dic[@"name"];
        self.mapDistrict = dic[@"district"];
        self.bedroom = dic[@"bedroom"];
    }
    return self;
}
+ (instancetype)mapCellModelWithDic:(NSDictionary *)dic
{
    return [[LRXMapCellModel alloc ]initMapCellModel:dic];
}

@end
